package com.liujit.upms.domain.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.result.BaseResult;
import com.liujit.common.domain.result.DictItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description 系统字典返回结果
 * @Author liujun
 * @Date 2021-07-02 14:51:52
 */
@Data
@ApiModel(value = "SysDictResult", description = "系统字典返回结果")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysDictResult extends BaseResult {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编号")
    private String code;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "字典数据")
    private List<DictItem> items;
}